package com.teamall.web.fpxm.db.dao.mapper;

import com.teamall.web.fpxm.db.arg.CodeAidProjectByAidstaffArg;
import com.teamall.web.fpxm.db.po.CodeAidProjectByAidstaffPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ICodeAidProjectByAidstaffMapper {
    
    List<Integer> countByArg(CodeAidProjectByAidstaffArg arg);

    List<CodeAidProjectByAidstaffPO> selectByArg(CodeAidProjectByAidstaffArg arg);

    CodeAidProjectByAidstaffPO selectByPrimaryKey(String id);

    List<CodeAidProjectByAidstaffPO> selectByArgAndPage(CodeAidProjectByAidstaffArg arg, RowBounds rowBound);

    int insert(CodeAidProjectByAidstaffPO record);

    int insertSelective(CodeAidProjectByAidstaffPO record);

    int insertBatch(@Param("list") List<CodeAidProjectByAidstaffPO> records);

    int updateByArgSelective(@Param("record") CodeAidProjectByAidstaffPO record,
            @Param("arg") CodeAidProjectByAidstaffArg arg);

    int updateByArg(@Param("record") CodeAidProjectByAidstaffPO record,
            @Param("arg") CodeAidProjectByAidstaffArg arg);

    int updateByPrimaryKeySelective(CodeAidProjectByAidstaffPO record);

    int updateByPrimaryKey(CodeAidProjectByAidstaffPO record);
    
    int deleteByArg(CodeAidProjectByAidstaffArg arg);
    
    int deleteByPrimaryKey(String id);
    
}